/*首页的样式*/
body{
    height: 2000px;
}

/*设置头部导航条的样式*/
.top-nav{
    background-color: #333;
    color: #b0b0b0;
    font-size: 12px;
}

.nav-inner{
    display: flex;
    justify-content: space-between;
    height: 40px;
    line-height: 40px;
}

.nav-inner a:hover{
    color: #fff;
}

.top-nav .sep{
    color: #424242;
    margin: 0 .6em;
}

.link-wrap{
    display: flex;
}

/*设置下拉二维码*/
.download-app{
    position: relative;
}

.download-app .hide{
    /*display: none;*/
    position: absolute;
    /*height: 148px;*/
    height: 0;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 0 5px rgba(0,0,0,.3);
    /*left: -36px;*/
    left: 50%;
    margin-left: -62px;
    transition: height .3s;
}

.download-app .hide .inner{
    width: 124px;
    height: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    overflow: hidden;
}

.download-app:hover .hide{
    /*display: flex;*/
    height: 148px;
}

.download-app:hover .hide::before{
    width: 0;
    height: 0;
    content: "";
    position: absolute;
    border: 8px transparent solid;
    border-top: none ;
    border-bottom-color: #fff;
    left: 0;
    right: 0;
    top: -8px;
    margin: 0 auto;
}

.download-app .hide img{
    margin-top: 18px;
    width: 90px;
}

.user-info{
    display: flex;
}
.cart{
    width: 120px;
    margin-left: 15px;
    text-align: center;
    background-color: #424242;
}

.user-info .cart:hover{
    color: #ff6700;
    background-color: #fff;
}


/*头部的菜单*/
.top-header{
}

.top-header .w{
    height: 100px;
    display: flex;
    align-items: center;
    position: relative;
}

.top-header .logo a{
    display: block;
    width: 56px;
    height: 56px;
    margin-right: 30px;
    font-size: 0;
    background-image: url("../images/logo-mi2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.top-header .logo a:active{
    background-size: 50px;
}

/*设置中间的菜单*/
.top-header .menu{
    display: flex;
    font-size: 16px;
}

.top-header .menu li > a{
    display: block;
    height: 100px;
    line-height: 100px;
    padding: 0 10px;
}

.top-header .menu li > a:hover{
    color: #ff6700;
}

.top-header a.category{
    padding-left: 40px;
    visibility: hidden;
}

.search-form{
    position: relative;
    display: flex;
    flex: auto;
    justify-content: end;
}

.search-form input{
    box-sizing: border-box;
    width: 244px;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-right: none;
    outline: none;
    padding: 0 6px;
    font-size: 14px;
}

.search-form input:focus ~ .hide{
    display: block;
}
.search-form input:hover,
.search-form input:hover + button{
    border-color: #c7c7c7;
}

.search-form input:focus,
.search-form input:focus + button{
    border-color:#ff6700 ;
}


.search-form button{
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    border: 1px solid #e0e0e0;
    background:#fff;
    font-size: 20px;
    color: #616161;
    cursor: pointer;
}

.search-form button:hover{
    background-color: #ff6700;
    color: #fff;
    border: none;
}

.search-form .hide{
    display: none;
    position: absolute;
    box-sizing: border-box;
    width: 245px;
    height: 300px;
    background-color: #fff;
    top:50px;
    right: 49px;
    border: 1px solid #ff6700;
    border-top: none;
}

/*设置左侧导航的样式*/
.left-nav{
    display: flex;
    flex-flow: column;
    width: 234px;
    height: 420px;
    padding: 20px 0;
    background-color: rgba(105,101,101,.6);
    position: absolute;
    left: 0;
    font-size: 14px;
    z-index: 999;
}

/*<i class="fa-solid fa-angle-right"></i>*/
.left-nav a::after{
    content: "\f105";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}


.left-nav a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: auto;
    color: white;
    padding: 0 30px;
}

.left-nav a:hover{
    background-color: #ff6700;
}

.banner{
    height: 460px;
    position: relative;
}

.banner .img-list li{
    position: absolute;
}

/*设置翻页*/
.banner .prev-next a{
    position: absolute;
    width: 41px;
    height: 69px;
    background-image: url("../images/icon-slides.png");
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.banner .prev-next .prev{
    left: 234px;
    background-position: -84px 0;
}

.banner .prev-next .prev:hover{
    background-position: 0 0;
}

.banner .prev-next .next{
    right: 0;
    background-position: -125px 0;
}

.banner .prev-next .next:hover{
    background-position: -42px 0;
}

/*设置导航小点*/
.pointer{
    display: flex;
    position: absolute;
    right: 30px;
    bottom: 20px;
}

.pointer a{
    width: 6px;
    height: 6px;
    border: 2px hsla(0,0%,100%,.3) solid;
    background-color: rgba(0,0,0,.4);
    margin: 0 4px;
    border-radius: 50%;
}
.pointer a:hover,
.pointer a.active
{
    background-clip: content-box;
    background-color: hsla(0,0%,100%,.4);
    border-color: rgba(0,0,0,.4);

}

.sub{
    display: flex;
    justify-content: space-between;
    height: 170px;
    margin-top: 14px;
}

.sub .home-channel-list{
    display: flex;
    flex-flow: wrap;
    box-sizing: border-box;
    padding: 3px;
    width: 234px;
    height: 170px;
    background-color: #5f5750;
}

.sub .home-channel-list li{
    position: relative;
    width: 76px;
    height: 82px;

}

/*设置图形的边框 左边框*/
.sub .home-channel-list li::before{
    content: "";
    position: absolute;
    width: 1px;
    height: 70px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background-color: #665e57;
}

.sub .home-channel-list li::after{
    content: "";
    position: absolute;
    height: 1px;
    width: 64px;
    background-color: #665e57;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
}

.sub .home-channel-list li a{
    display: flex;
    height: 100%;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    opacity: .7;
    transition: opacity .5s;
}
.sub .home-channel-list li a:hover{
    opacity: 1;
}


.sub .home-channel-list li i{
    font-size: 20px;
    margin-bottom: 6px;
}


.sub .home-promo{
    width: 316px;
    transition: box-shadow .5s;
}

.sub .home-promo:hover{
    box-shadow: 0 0 20px rgba(0,0,0,.1);
}

/*设置side-bar的样式*/
.side-bar{
    position: fixed;
    width: 40px;
    height: 400px;
    background-color: tomato;
    top: 200px;
    left: 50%;
    margin-left: 613px;
}